package cn.tedu.v1.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 部门列表
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("department_office")
public class DepartmentOffice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门名称
     */
    @TableField("name")
    private String name;

    /**
     * 部门状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 负责人
     */
    @TableField("chairman")
    private String chairman;

    /**
     * 包含的科室
     */
    @TableField("office_name")
    private String officeName;

    /**
     * 部门id
     */
    @TableField("department_id")
    private Integer departmentId;

    /**
     * 科室id
     */
    @TableField("office_id")
    private Integer officeId;
    /**
     * 是否删除
     */
    @TableField("delete_status")
    private Integer deleteStatus;

}
